You can manually invoke a Lambda function for testing or operational purposes using the AWS Management Console, AWS CLI, SDKs, or tools like Postman (if the function is exposed via API Gateway). This is especially useful during development and debugging.
Using the AWS Console: Navigate to the Lambda function, use the 'Test' tab, configure a test event, and invoke.
Using AWS CLI: Run the aws lambda invoke command with a payload.
Using AWS SDKs: Programmatically invoke using SDKs in languages like Python, Node.js, or Java.
Via API Gateway: If connected, send an HTTP request to the endpoint.
Using CloudShell: Execute CLI commands directly from the AWS Console.